{% extends "../base.html" %}

{% block title %}
Pictures in {{mhtname}}
{% endblock title %}

{% block body %}
  
  <div>
    <h1>Welcome {{username}}</h1>
    {{msg}}
  </div>
    
    <div id="nav">
        <a  href="{{referer}}"><span>返回</span></a>
    </div>
  
  
  <form action="/pic/delete" method="post">
  {% for imgid in images %}
  <div>
  {{ forloop.counter }}
  <a href="/pic/show/{{imgid}}" target="_blank"><img src="/pic/get/{{imgid}}" alt=""></a>
  <input type="checkbox" name="picid" value="{{imgid}}">
  </div>
  {% endfor %}
  <input type="submit" value="delete">
  <input type="hidden" name="referer" value="{{referer}}">
  </form>
  
{% endblock body %}